updating oE disk_metrics

disk_metrics

include filesys.e 
namespace filesys 
public function disk_metrics(object disk_path) 

returns some information about a disk drive.

Parameters:
  1. disk_path : A sequence. This is the path that identifies the disk to inquire upon.
Returns:

A sequence, containing SECTORS_PER_CLUSTER, BYTES_PER_SECTOR, NUMBER_OF_FREE_CLUSTERS, and TOTAL_NUMBER_OF_CLUSTERS

Example 1:
res = disk_metrics("C:\\") 
min_file_size = res[SECTORS_PER_CLUSTER] * res[BYTES_PER_SECTOR] 
Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu